package com.dooioo.pns.api.leancloud;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * PackageName:com.dooioo.pns.api.leancloud
 * Author: Jerry.hu
 * Create: Jerry.hu (2015-07-27 下午7:46)
 * Description:
 * To change this template use File | Settings | File Templates.
 */
public class LData implements Serializable{
	private static final long serialVersionUID = 2059395822588227989L;
	private String alert;
	private String action = "com.avos.UPDATE_STATUS";
	private String sound="msg.mp3";
	private String businessId;
	private String touchdown;
	private String category;
	private String badge="1";
	private String extensionInfo;



	public String getAlert() {
		return alert;
	}

	public void setAlert(String alert) {
		this.alert = alert;
	}

	public String getAction() {
		return action;
	}

	public void setAction(String action) {
		this.action = action;
	}

	public String getSound() {
		return sound;
	}

	public void setSound(String sound) {
		this.sound = sound;
	}

	public String getBusinessId() {
		return businessId;
	}

	public void setBusinessId(String businessId) {
		this.businessId = businessId;
	}

	public String getTouchdown() {
		return touchdown;
	}

	public void setTouchdown(String touchdown) {
		this.touchdown = touchdown;
	}

	public String getExtensionInfo() {
		return extensionInfo;
	}

	public void setExtensionInfo(String extensionInfo) {
		this.extensionInfo = extensionInfo;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getBadge() {
		return badge;
	}

	public void setBadge(String badge) {
		this.badge = badge;
	}

	@Override
	public String toString() {
		final StringBuffer sb = new StringBuffer("LData{");
		sb.append("alert='").append(alert).append('\'');
		sb.append(", action='").append(action).append('\'');
		sb.append(", sound='").append(sound).append('\'');
		sb.append(", businessId='").append(businessId).append('\'');
		sb.append(", touchdown='").append(touchdown).append('\'');
		sb.append(", category='").append(category).append('\'');
		sb.append(", extensionInfo='").append(extensionInfo).append('\'');
		sb.append('}');
		return sb.toString();
	}
}
